* {
    padding: 0;
    margin: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

html {
    width: 100%;
    height: 100%;
    display: table;
}

body {
    display: table-cell;
    background-color: #808fc7;
    width: 100vm;
    height: 100vh;
}


/* 打开时自适应页面高度 */

#container {
    height: 100%;
    border-radius: 10px;
    display: none;
}

#send {
    margin: 45px;
    text-align: center;
}

#send input {
    width: 70%;
    padding: 1.5%;
    border-radius: 10px;
    outline: none;
    font-size: 1.5em;
    border: 0px;
}

button {
    background-color: white;
    padding: 1.5%;
    border-radius: 7px;
    border: none;
    outline: none;
    margin-left: 10px;
    font-size: 1.3em;
}

button:hover {
    cursor: pointer;
}

.text {
    text-align: center;
}

.in {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    /* width: 50%;
    height: 50%; */
    text-align: center;
    /* background-color: #ccff99; */
    /* border-radius: 10px; */
}


/* .in p {
    margin-top: 5%;
} */

.inn {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    top: 50%;
    left: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
    /* height: 100%; */
}

.inn input {
    width: 42%;
    height: 20%;
    margin: 5%;
    background-color: white;
    border-radius: 5px;
    outline: none;
    padding: 1%;
    font-size: 1.5em;
}

.in button {
    margin: 0 auto;
    padding: 2%;
}

p {
    font-family: sans-serif;
    word-wrap: break-word;
}

.msg {
    border-radius: 0.5em;
    font-size: 2em;
    padding: 2%;
    margin-top: 1.2%;
    width: 80vw;
    overflow-wrap: anywhere;
}

#in-pc {
    margin: 10%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 5px solid #72cce3;
    background-color: #96dcee;
    box-shadow: 0 0 10px #96dcee;
}

#in-bu {
    margin: 10%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 5px solid #f5eb71;
    background-color: #fffaa8;
    box-shadow: 0 0 10px #fffaa8;
    cursor: pointer;
}

.inpcc {
    color: pink;
    transition: 1.5s;
}

.tan {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    cursor: default;
}

.tan-contain {
    position: relative;
    transform: translateY(100%);
    width: 30%;
    height: 30%;
    background-color: #5d74c5;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 0 20px #96dcee;
}

.tan-close {
    float: right;
    margin-right: 10%;
    margin-top: 10px;
    font-size: 30px;
    z-index: 10;
}

.tan-close:hover {
    color: white;
    cursor: pointer;
}

.tan-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2em;
}

@media screen and (max-width: 769px) {
    .in {
        width: 75%;
    }
    .in p {
        font-size: 10px;
    }
    #in-pc {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        border: 3px solid #72cce3;
        background-color: #96dcee;
    }
    #in-bu {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        border: 3px solid #f5eb71;
        background-color: #fffaa8;
        cursor: pointer;
    }
    .tan-contain {
        width: 75%;
    }
}